Next | Prev | Up | Top | Contents | Index

Locking Pages in Memory

A page fault interrupts a process for many milliseconds. Not only are page faults lengthy, their occurrence and frequency are unpredictable. If your real-time frame rate exceeds a few Hertz, your program cannot tolerate such interruptions. The solution is to lock some or all of the pages of your address space into memory. A page fault cannot occur on a locked page.


Locking Functions
Locking Program Text and Data
Locking Mapped Files Into Memory

Next | Prev | Up | Top | Contents | Index